Class HostIpImpl

All Implemented Interfaces:
IPCObject, HostIp, Process

public class HostIpImpl extends ProcessImpl implements HostIp
Information provided by the PKI file:

    \class HostIp
    
    \brief HostIp handles and manipulates the default gateway on end devices.
    
    \example network().getDevice("PC0").getProcess("HostIpProcess")
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • setDefaultGateway

      public void setDefaultGateway(IPAddress gatewayIp)
      Information provided by the PKI file:
      
          \brief Sets the default gateway with the specified IP address.
          
          \param gatewayIp, the IP address of the gateway.
          
              
      Specified by:
      setDefaultGateway in interface HostIp
      Parameters:
      gatewayIp - Takes in a parameter of gatewayIp
    • getDefaultGateway

      public IPAddress getDefaultGateway()
      Information provided by the PKI file:
      
          \brief Returns the IP address of the default gateway.
          
          \return ip, the IP address of the default gateway.
          
              
      Specified by:
      getDefaultGateway in interface HostIp
      Returns:
      IPAddress Returns a IPAddress